﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ScriptReferenceProfiler.aspx.cs"
    Inherits="ASPNETPerformance._08_AjaxAndJson.ScriptReferenceProfiler" MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h2>
        Asp.Net Ajax中使用ScriptReferenceProfiler控件</h2>
    <asp:ScriptManager runat="server" ID="scriptManager1">
        <CompositeScript>
            <Scripts>
                <asp:ScriptReference Name="Common.Common.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="Compat.Timer.Timer.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="Animation.Animations.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="ExtenderBase.BaseScripts.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="Animation.AnimationBehavior.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="PopupExtender.PopupBehavior.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="Common.Threading.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="ColorPicker.ColorPickerBehavior.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="DynamicPopulate.DynamicPopulateBehavior.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="HoverExtender.HoverBehavior.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="HoverMenu.HoverMenuBehavior.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="Common.DateTime.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
                <asp:ScriptReference Name="Calendar.CalendarBehavior.js" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
            </Scripts>
        </CompositeScript>
    </asp:ScriptManager>
    <br />
    <ajaxToolkit:ScriptReferenceProfiler ID="ScriptReferenceProfiler1" runat="server" />
    <p>
        <asp:TextBox runat="server" ID="Color1" />
        <ajaxToolkit:ColorPickerExtender runat="server" ID="ColorPickerExtender1" TargetControlID="Color1" />
    </p>
    <p>
        <asp:Panel runat="server" ID="Panel9">
            HoverMenuExtender
        </asp:Panel>
        <ajaxToolkit:HoverMenuExtender ID="hme2" runat="Server" TargetControlID="Panel9"
            PopupControlID="PopupMenu" HoverCssClass="popupHover" PopupPosition="Left" OffsetX="0"
            OffsetY="0" PopDelay="50" />
        <asp:Panel CssClass="popupMenu" ID="PopupMenu" runat="server">
            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Edit" Text="Edit" />
            <br />
            <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Delete" Text="Delete" />
        </asp:Panel>
    </p>
    <p>
        <asp:TextBox runat="server" ID="Date1" /><asp:ImageButton ImageUrl="~/_assets/img/next.gif"
            runat="server" ID="Image1" />
        <ajaxToolkit:CalendarExtender runat="server" TargetControlID="Date1" CssClass="ClassName"
            Format="MMMM d, yyyy" PopupButtonID="Image1" />
    </p>
</asp:Content>
